<?php

$section = 'press';
$titre = _LB_PRESS_MANAGEMENT;
$smarty->assign('titre', $titre);

$id = Request::getIntNumber('id');
$backlink = Session::getBackLink('press');
$currentlink = APPLICATION_URL . "/press/delete/?id=". $id;

$press = new Press();
if(!$press->get($id))
	redirect($backlink);

$press->delete();

redirect($backlink);